package com.lyf.scm.admin.domain.remote.allocationservice;

import com.lyf.scm.admin.domain.remote.allocationservice.dto.ActualSalesQtyQueryDTO;
import com.rome.arch.core.clientobject.Response;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 实际销量
 *
 * @author wangchlei
 * @date 2020/11/11
 */
@FeignClient(name = "scm-plan-service")
public interface ActualSalesQtyRemote {
    @PostMapping("/api/v1/salesPlanDirectlyStore/list")
    Response<Map<String, List<BigDecimal>>> groupByChannelAreaSku(@RequestBody ActualSalesQtyQueryDTO dto);
}
